package structural.decorator;

/**
 * 抽象咖啡类
 *
 * @author binbin
 * @since 2022/10/6 19:22
 */
public abstract class Coffee {

    abstract double cost();

    abstract String desc();

    @Override
    public String toString() {
        return "总费用" + cost() + " " + desc();
    }
}
